| Total Complexity | 57 |
| Dependencies | 9 |
| Dependents | 4 |
| Total lines | 592 |
| Lines of code | 363 |
| Logical lines of code | 164 |
| Comment lines | 97 |
| Methods | 13 |
| Properties | 6 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| upsert_coupon_for_promotion_rule() | 33 | 20 | 102 | |
| queue_vouchers_for_promotion() | 44 | 4 | 52 | |
| handle_voucher_created_webhook() | 49 | 5 | 35 | |
| handle_voucher_redeemed_webhook() | 49 | 5 | 32 | |
| format_voucher_webhook() | 58 | 5 | 15 | |
| start_sync() | 50 | 4 | 28 | |
| task() | 48 | 3 | 38 | |
| handle_voucher_updated_webhook() | 54 | 4 | 22 | |
| handle_voucher_deleted_webhook() | 59 | 2 | 15 | |
| sync_vouchers_to_woocommerce() | 70 | 2 | 6 | |
| __construct() | 69 | 1 | 7 | |
| init() | 67 | 1 | 7 | |
| completed() | 77 | 1 | 4 |